/**
 * @file: vscode
 * @author: v_xieyejiang
 * @Date: 2018-12-10 11:32:45
 * @Last Modified by: v_xieyejiang
 * @Last Modified time: 2018-12-10 14:56:36
 */

import axios from '@/axios';

export default {
    // user
    getUser(data) {
        return axios.get('userInfo', {
            params: data
        });
    },
    logout(data) {
        return axios.get('logout');
    }
};
